package ManHinhChinh;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.DateTime;

public class PhieuThuTien {

	protected Shell shlPhiuThuTin;
	private Text text;
	private Text text_1;
	private Text text_2;
	private Text text_3;
	private Text text_4;

	/**
	 * Launch the application.
	 * @param args
	 */
	

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlPhiuThuTin.open();
		shlPhiuThuTin.layout();
		while (!shlPhiuThuTin.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 * @wbp.parser.entryPoint
	 */
	protected void createContents() {
		shlPhiuThuTin = new Shell();
		shlPhiuThuTin.setSize(450, 308);
		shlPhiuThuTin.setText("Phi\u1EBFu Thu Ti\u1EC1n");
		
		Label label = new Label(shlPhiuThuTin, SWT.NONE);
		label.setText("T\u1ED5ng Ti\u1EC1n");
		label.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		label.setBounds(23, 193, 93, 21);
		
		Label label_1 = new Label(shlPhiuThuTin, SWT.NONE);
		label_1.setText("L\u00ED Do");
		label_1.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		label_1.setBounds(23, 154, 55, 21);
		
		Label lblNgyThu = new Label(shlPhiuThuTin, SWT.NONE);
		lblNgyThu.setText("Ng\u00E0y Thu");
		lblNgyThu.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNgyThu.setBounds(23, 117, 77, 21);
		
		Label label_3 = new Label(shlPhiuThuTin, SWT.NONE);
		label_3.setText("\u0110i\u1EC7n Tho\u1EA1i");
		label_3.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		label_3.setBounds(23, 80, 93, 21);
		
		Label label_4 = new Label(shlPhiuThuTin, SWT.NONE);
		label_4.setText("\u0110\u1ECBa Ch\u1EC9");
		label_4.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		label_4.setBounds(23, 44, 93, 21);
		
		Label lblKhchHng = new Label(shlPhiuThuTin, SWT.NONE);
		lblKhchHng.setText("Kh\u00E1ch H\u00E0ng");
		lblKhchHng.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblKhchHng.setBounds(23, 10, 112, 21);
		
		Button btnNewButton = new Button(shlPhiuThuTin, SWT.NONE);
		btnNewButton.setBounds(157, 234, 75, 25);
		btnNewButton.setText("X\u00E1c Nh\u1EADn");
		
		text = new Text(shlPhiuThuTin, SWT.BORDER);
		text.setBounds(157, 10, 188, 21);
		
		text_1 = new Text(shlPhiuThuTin, SWT.BORDER);
		text_1.setBounds(157, 44, 188, 21);
		
		text_2 = new Text(shlPhiuThuTin, SWT.BORDER);
		text_2.setBounds(157, 80, 188, 21);
		
		text_3 = new Text(shlPhiuThuTin, SWT.BORDER);
		text_3.setBounds(157, 154, 188, 21);
		
		text_4 = new Text(shlPhiuThuTin, SWT.BORDER);
		text_4.setBounds(157, 193, 188, 21);
		
		DateTime dateTime = new DateTime(shlPhiuThuTin, SWT.BORDER);
		dateTime.setBounds(157, 117, 80, 24);

	}

}
